<%@page import="cn.jussi.model.User"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	不使用jstl标签：<<java>>
	<br><br>
	使用jstl标签：<c:out value="<<java>>"/>
	<br><br>
	<br><br>
	
	<c:set var="abc" value="字母" scope="session"/>
	<c:out value="${abc }" />
	<br><br>
	<%
		out.println(session.getAttribute("abc"));
	%>
	<br><br>
	
	<%
		User user = new User();
		pageContext.setAttribute("user", user);
		out.println("没有set之前:" + user);
	%>
	<br><br>
	<c:set target="${user }" property="username" value="jussi"/>
	set之后：<c:out value="${pageScope.user }" />
	<br><br>
	
	<c:remove var="user" scope="page" />
	remove之后:<c:out value="${pageScope.user }" />
	<br><br>	
</body>
</html>